package com.jackie.coupon.customer.api.dto.template.beans.rules;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * TemplateRule
 *
 * @author Jackie Hou
 * @date 2023/11/15 21:16
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TemplateRule {

    /**
     * 可以享受的折扣
     */
    private Discount discount;

    /**
     * 没人最多可以领券的数量
     */
    private Integer limitation;

    /**
     * 过期时间
     */
    private Long deadline;
}
